<template>
    <div className="app-container">
        <component :is="checkAgents?'Pc':'Mobile'"/>
    </div>
</template>

<script>
import { checkAgents } from '@/utils/match'
import Mobile from '@/views/equipment/electricity/mobile/index.vue'
import Pc from '@/views/equipment/electricity/pc/index.vue'

export default {
    components: {
        Mobile,
        Pc
    },
    data() {
        return {
            checkAgents: false
        }
    },
    created() {
        this.checkAgents = checkAgents()
    }
}
</script>

